﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VelocityShop.Entities
{
    [Serializable()]
    public class CartItem:CatalogItem
    {
        private int _quantity;
        
        public int Quantity
        {
            get { return _quantity; }
            set { _quantity = value; }
        }
     
        public decimal Total
        {
            get { return base.UnitPrice * _quantity ; }
        }
    }
}
